import { createRouter, createWebHistory } from 'vue-router';

// 路由信息
const routes = [
	{
		path: '/',
		name: 'home',
		component: () => import('./views/home/index.vue'),
	},
	{
		path: '/whit',
		name: 'whit',
		component: () => import('./views/whit/index.vue'),
	},
	{
		path: '/model',
		name: 'model',
		component: () => import('./views/model/index.vue'),
	},
	{
		path: '/modelcopy',
		name: 'modelcopy',
		component: () => import('./views/modelcopy/index.vue'),
	},
];

// 导出路由
const router = createRouter({
	history: createWebHistory(),
	routes,
});

export default router;
